package CreationMode.abstractFactory.digitalproducts;

public class FactoryHuawei implements Factory{
    @Override
    public Computer createComputer() {
        System.out.println("华为工厂生产一台电脑");
        return new ComputerHuawei();
    }

    @Override
    public Phone createPhone() {
        System.out.println("华为工厂生产一台手机");
        return new PhoneHuawei();
    }
}
